<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/taglibs.jsp"%>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link href="${ctx}/resources/semanticui/semantic.min.css"rel="stylesheet" type="text/css" />
<link href="${ctx}/resources/apps.css" rel="stylesheet" type="text/css" />
<c:if test="${title!=null}">
	<title>${title}</title>
</c:if>
	<c:if test="${title==null}">
     	 	<title>温馨提示</title>
     </c:if>
</head>
<body>
	<div class="ui segment" id="n-page">
		&nbsp;<br> &nbsp;<br>

		<h3 class="ui attached header" id="list-title">
			<c:if test="${title!=null}">
     	 ${title}
     	 </c:if>
			<c:if test="${title==null}">
     	 	温馨提示
     	 </c:if>
		</h3>

		&nbsp;<br> &nbsp;<br>${msg} &nbsp;<br> &nbsp;<br>
		<c:if test="${not empty url}">
			<input type="hidden" name="urlStr" id="urlStr" value="${url}" />
			<div class="ui segment" id="btn-next2">
				<div class="fluid ui button" id="next">知道了，继续</div>
			</div>
		</c:if>

	</div>

	<script src="${ctx}/resources/semanticui/jquery-2.1.4.min.js"></script>
	<script src="${ctx}/resources/semanticui/semantic.js"
		type="text/javascript"></script>
	<script type="text/javascript">
		var handler = {
			activate : function() {
				$(this).addClass('active').siblings().removeClass('active');
				if ($(this).attr('id') == 'next') {

					var urlStr = $("#urlStr").val();

					$(this).addClass('disabled');
					var forwardUrl = '${ctx}/' + urlStr;
					location.href = forwardUrl;
				}
			}
		};

		$(document).ready(function() {
			$('.button').on('click', handler.activate);

		});
	</script>
</body>
</html>